<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>My App</title>
    <link href="css/mui.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="css/framework7.ios.min.css">
    <link rel="stylesheet" href="css/framework7.ios.colors.min.css">
    <link rel="stylesheet" href="css/app.css">
    <link rel="stylesheet" href="css/help.css">
  </head>
  <body>
  	<div class="statusbar-overlay"></div>
    <div class="views">
      <div class="view main">
        <div class="pages navbar-through toolbar-through index">
          <div data-page="index" class="page">
          	<div class="navbar main">
	          <div class="navbar-inner">
	            <div class="left">
	              <a href="my.html" class="link icon-only" id="skip"></a>
	            </div>
	            <div class="center sliding">闪点借贷</div>
	            <div class="right right1">
	              <a href="#" id="skip" class="link icon-only"></a>
	            </div>
	          </div>
	        </div>
            <div class="page-content index">
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                      <div class="swiper-slide"><img src="images/banner1.png"></div>
                      <div class="swiper-slide"><img src="images/banner1.png"></div>
                      <div class="swiper-slide"><img src="images/banner1.png"></div>
                      <div class="swiper-slide"><img src="images/banner1.png"></div>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
                <div class="list">
	                <div style="padding:0; margin:0; width:100%" class="content-block-inner">
	                  <div id="picker-date-container"></div>
	               </div>
                </div>
                <div class="choice">
                    <div>
                        <p>借款费用</p>
                        <span>￥<b id="picker-date1" class="amount"></b>/起</span>
                    </div>
                    <div>
                        <p>实际到账</p>
                        <span>￥<b id="picker-date2" class="arrival"></b></span>
                    </div>
                    <div>
                        <a hraf="Confirmation-loan.html" class ="skip">申请借款</a>
                    </div>
                </div>
            </div>
            <div class="toolbar">
	          <div class="toolbar-inner">
	            <a hraf="index.html" class="link skip" ><p class="footer1"></p><span>借款</span></a>
	            <a hraf="Apply.html" class="link skip"><p class="footer2"></p><span>认证</span></a>
	            <a hraf="my.html" class="link skip" ><p class="footer3"></p><span>我的</span></a>
	          </div>
	        </div>
          </div>
        </div>
      </div>
    </div>
    <script type="text/javascript" src="js/framework7.min.js"></script>
    <script type="text/javascript" src="js/mui.min.js"></script>
    <script type="text/javascript" src="js/my-app.js"></script>
  </body>
</html>
<!--

<script type="text/javascript">
    $$.ajax({
        url:'http://jieqian.com/Index/index',
        contentType: "OPTIONS",
        crossDomain: true,//这个一定要设置成true，默认是false，true是跨域请求。
        dataType:"json",
        success: function( response ) {
            if (window.localStorage) {
                localStorage.setItem('day', response.day);
                console.log(localStorage.getItem("day"));
                localStorage.setItem('dayCompany', response.dayCompany);
                localStorage.setItem('amountCompany', response.amountCompany);
                localStorage.setItem('amounts', response.amount);
                localStorage.setItem('Interest', response.Interest);
                localStorage.setItem('wFPoundage', response.wFPoundage);
                localStorage.setItem('withdrawalPoundage', response.withdrawalPoundage);
            }
        }
    });
    var pickerInline = myApp.picker({
        container: '#picker-date-container',
        toolbar: false,
        rotateEffect: true,
        cols: [
            {
                values: localStorage.getItem("day").split(' '),
                displayValues: localStorage.getItem("dayCompany").split(' '),
                textAlign: 'center',
                width: 170
            },
            {
                values: localStorage.getItem("amounts").split(' '),
                displayValues: localStorage.getItem("amountCompany").split(' '),
                textAlign: 'right',
                width: 170
            },
        ],
        onChange: function (p, values, displayValues) {
            var pikervalue1 = p.value['0'];//获取选取的项目
            var pikervalue2 = p.value['1'];//获取选取的项目
            var arrivalVal = pikervalue2 - localStorage.getItem("wFPoundage") - localStorage.getItem("withdrawalPoundage");
            var amount = localStorage.getItem("wFPoundage") + localStorage.getItem("withdrawalPoundage");
            $$('.arrival').text(arrivalVal);
            $$('.amount').text(amount);
            if (window.localStorage) {
                localStorage.setItem('money', pikervalue2);//存储所选钱款
                localStorage.setItem('Numberday', pikervalue1);//存储所选天数
                localStorage.setItem('arrivalVal', arrivalVal);//存储实际到账
                localStorage.setItem('amount', amount);//存储借款费用
            }
        },
    });
</script>
-->
